package com.tianxiabuyi.weixin.qy.message.json;


import com.tianxiabuyi.weixin.common.media.Video;
import com.tianxiabuyi.weixin.common.message.MsgType;

/**
 * 视频消息
 */
public class VideoMessage extends JsonMessage {

    private int safe;
    private Video video;

    public VideoMessage() {
        this.msgType = MsgType.video;
    }

    public int isSafe() {
        return safe;
    }

    public void setSafe(int safe) {
        this.safe = safe;
    }

    public Video getVideo() {
        return video;
    }

    public void setVideo(Video video) {
        this.video = video;
    }

    public VideoMessage video(Video video) {
        this.video = video;
        return this;
    }

    public VideoMessage safe() {
        this.safe = 1;
        return this;
    }
}
